package com.hqyj.ctxp.pojo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_info")
public class UserInfo {
    @TableId(value = "user_no")
    private Integer userNo;

    @TableField(value = "user_name",updateStrategy = FieldStrategy.NEVER)
    private String userName;

    @TableField(value = "user_phone")
    private String userPhone;

    @TableField(value = "user_image")
    private String userImage;

    @TableField(value = "user_age")
    private Integer userAge;

    @TableField(value = "user_gender")
    private String userGender;

}
